package com.qbd.service;

import java.util.List;
import java.util.Map;

import com.qbd.model.Area;

public interface AreaService {

	int deleteByPrimaryKey(String id);

    int insert(Area record);

    int insertSelective(Area record);

    Area selectByPrimaryKey(String id);
    
    Area selectByName(String name);

	Area selectByNameAndCid(Map<String, Object> map);

    int updateByPrimaryKeySelective(Area record);

    int updateByPrimaryKey(Area record);
    
    Long getTotal(Map<String, Object> map);

	List<Area> selectByPage(Map<String, Object> map);
	
	List<Area> selectByCid(Map<String, Object> map);
	
	List<Area> selectByPage1(Map<String, Object> map);
}
